<div>
  <form
    class="login-form"
    nz-form
    [formGroup]="loginForm"
    (ngSubmit)="onSubmit(loginForm.value)"
  >
    <h1>远程自动洗车系统</h1>
    <nz-form-item>
      <nz-form-control nzErrorTip="请输入您的账号">
        <nz-input-group nzPrefixIcon="user">
          <input formControlName="account" nz-input placeholder="账号" />
        </nz-input-group>
      </nz-form-control>
    </nz-form-item>

    <nz-form-item>
      <nz-form-control nzErrorTip="请输入您的密码">
        <nz-input-group nzPrefixIcon="lock">
          <input
            formControlName="password"
            nz-input
            type="password"
            placeholder="密码"
          />
        </nz-input-group>
      </nz-form-control>
    </nz-form-item>

    <nz-form-item>
      <nz-form-control>
        <button class="login-form-button" nz-button nzType="primary">
          登录
        </button>
      </nz-form-control>
    </nz-form-item>
  </form>
</div>
